package com.foreknow.demo10;

public class TestStudent {
    public static void main(String[] args){
        Student student =new Student(23,"foreknow");
        student.setName("tom");
//        String name =student.getName();//1
//        System.out.println(name);//两种显示方法1
        System.out.println(student.getName());//2
        System.out.println(student.getAge());
        System.out.println(student.getSchool());
    }
}
